package com.fy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fy.entity.Diction;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author xiaocheng
 * @since 2022-06-16
 */
public interface DictionMapper extends BaseMapper<Diction> {
    @Select("select id,code,value FROM diction WHERE type=002 AND parent_code=0")
    List<Diction> getDictionList();
}
